<?php
	header("Content-type:text/html;charset=utf-8");
	include "../functions.php";
	C(include "./config.php");

?>
<h3><a href="7.php">修改配置项</a></h3>
<?php
	$role = isset($_GET['role'])?strtolower($_GET['role']):'user';
	if($role!='user'){
		C("OPEN",false);
	}
	if(C('OPEN')){
		echo "欢迎访问".C('WEBNAME');
	}else{
		echo C('CLOSE_MSG');
	}
?>